from flask import jsonify
from flask_restful import Resource, reqparse

class user(Resource):

    def get(self, id=None):
        return jsonify({'err': '0', 'msg':id })

    def post(self, id=None):
        return jsonify({'err': '0', 'msg': '成功'})
